package io.fivefire.base.common.token;

/**
 * @author huijun
 */
public class Constant {

//    token 信息

    /*用户ID*/
    public static String  TOKEN_USER_ID = "0";
    /*token 生成时间*/
    public static String  TOKEN_GEN_TIME = "1";
    /*修改密码时间*/
    public static String  PWD_UPDATE_TIME = "2";
    /*版本信息*/
    public static String  SYS_VERSION = "3";
    /*4位随机数*/
    public static String  RANDOM_NO ="4";
    /*用户手机号*/
    public static String TOKEN_PHONE = "5";
    //用户类型 商户 or 用户
    public static String TOKEN_USER_TYPE = "6";


//    redisKey前缀

    /*注册短信*/
    public static String REG_SMS="reg_sms:";

    /*忘记密码短信*/
    public static String PWD_SMS ="pwd_sms:";

    /*修改密码短信*/
    public static String UPDATE_PWD_SMS ="update_pwd_sms:";

    /*支付密码短信*/
    public static String
            PAY_SMS = "update_pay_pwd_sms:";

    /*登录短信 */
    public static String LOGIN_SMS = "login_sms:";


    //短信类型
    /*注册短信*/
    public static String SMS_TYPE_REG = "0";
    /*登录短信*/
    public static String SMS_TYPE_LOGIN = "1";
    /*忘记密码短信*/
    public static String SMS_TYPE_FOGET_PWD= "2";
    /*支付密码短信*/
    public static String SMS_TYPE_PAY= "3";

    /*修改登录密码短信*/
    public static String SMS_TYPE_UPDATE_PWD= "4";

    /*下单短信*/
    public static String SMS_TYPE_ORDER= "5";

    public static String USER_PHONE_NO = "ufn";

    /*短信模板*/
    /*注册*/
    public static String SMS_TEMPLATE_REGIST="SMS_109425111";
    /*登录*/
    public static String SMS_TEMPLATE_LOGIN="SMS_109520133";
    /*忘记密码*/
    public static String SMS_TEMPLATE_PASSWORD="SMS_109560113";
    /*修改登录密码*/
    public static String SMS_TEMPLATE_UPDATE_PASSWORD="SMS_116593316";

    /*修改支付密码短信*/
    public static String SMS_TEMPLATE_UPDATE_PAY_PASSWORD="SMS_115750231";
    /*下单*/
    public static String SMS_TEMPLATE_ORDER="SMS_120120817";
}
